﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/cat.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#include "../import/head.h"
#include "../impl/head.h"
#include "tools.h"

namespace example
{
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    // 

	namespace tools
	{
		int full_path( char * lpszFullFile, int nBufSize, const char * lpszFile )
		{
			int ret = 0;
			mgr::xos()->crt()->strcpy( lpszFullFile, nBufSize, mgr::xos()->exe_path() );
			mgr::xos()->misc()->path_append( lpszFullFile, lpszFile );
			return ret;
		}
	}

} // example
